package com.example.warehouse_manager.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.validation.constraints.NotNull;

import java.io.Serializable;

import java.math.BigDecimal;
import java.util.Date;

/**
* 入库单
* @TableName in_store
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class InStore implements Serializable {

    /**
    *
    */
    @NotNull(message="[]不能为空")
    private Integer insId;
    /**
    *
    */
    private Integer storeId;
    /**
    *
    */
    private Integer productId;
    /**
    *
    */
    private Integer inNum;
    /**
    *
    */
    private Integer createBy;
    /**
    *
    */
    private Date createTime;
    /**
    * 0 否 1 是
    */
    private String isIn;

    //追加属性

    private String productName;//商品名称

    private String startTime;//起始时间

    private String endTime;//结束时间

    private String storeName;//仓库名称

    private BigDecimal inPrice;//入库名称

    private String userCode;//创建人


}
